home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwrh.dir / 00115_Script_115 < prev    next >
Text File  |  1994-11-15  |  1KB  |  62 lines

  1. on startMovie
  2.   cursor 4
  3.   global nowFrame, currMM
  4.   set currMM = "FLWWT"
  5.   
  6.   preLoadCast 1,2
  7.   
  8.   repeat with i = 21 to 23
  9.     puppetSprite i, TRUE
  10.   end repeat
  11.   
  12.   set the immediate of sprite 23 to TRUE
  13.   set the stretch of sprite 23 to FALSE
  14.   cursor -1
  15. end startMovie
  16.  
  17. on stepMovie
  18.   global nowFrame,currFrame
  19.   if nowFrame  <> currFrame then
  20.     seeAlsoList
  21.     set currFrame = nowFrame
  22.   end if
  23. end stepMovie
  24.  
  25. on stopMovie
  26.   set the castNum of sprite 21 to 1050
  27.   puppetSprite 21, FALSE
  28.   put " " into field "SeeAlsoText"
  29.   updateStage
  30. end stopMovie
  31.  
  32. on saveLocals
  33.   global lastMovie, lastFrame, nowFrame
  34.   set lastFrame = nowFrame
  35.   set lastMovie = "FLWRH"
  36. end saveLocals
  37.  
  38. on buttonState
  39.   global FrankNav, bFlag
  40.   if rollover(6) then
  41.     rollCheck
  42.   else
  43.     set pos = 0
  44.     cursor -1
  45.   end if
  46.   if (the mouseV > 200) or (bFlag = TRUE) then
  47.    doState
  48.   end if
  49. end buttonState
  50.  
  51. on rollCheck
  52.   global pos
  53.   if the mouseH>=217 and the mouseH<=537 and the mouseV>180 and the mouseV<420 then
  54.     set pos = 2
  55.     cursor [1067,1068]
  56.   else
  57.     set pos = 0
  58.     cursor -1
  59.   end if
  60. end rollCheck
  61.  
  62.